﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace CenterServerDemo
{
    public interface ITopicManager
    {

        public Task<IEnumerable<TopicType>> GetTopicByKey(string key); 
        public Task<TopicType> GetTopic(string key, string name);

        public Task<IEnumerable<TopicType>> GetAll();

    }
}